namespace Architecture.CrossCutting.LoggingEntities.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class UpdateWebAPiLog_v1 : DbMigration
    {
        public override void Up()
        {
            AddColumn("dbo.WebapiLogs", "RequestDuration", c => c.Long(nullable: false));
            DropColumn("dbo.WebapiLogs", "Operation");
            DropColumn("dbo.WebapiLogs", "Method");
            DropColumn("dbo.WebapiLogs", "statusCode");
        }
        
        public override void Down()
        {
            AddColumn("dbo.WebapiLogs", "statusCode", c => c.String());
            AddColumn("dbo.WebapiLogs", "Method", c => c.String());
            AddColumn("dbo.WebapiLogs", "Operation", c => c.String());
            DropColumn("dbo.WebapiLogs", "RequestDuration");
        }
    }
}
